// 第三方授权
export interface OAuth2ClientModel {
  Id: number
  ClientId: string
  Secret: string
  Name: string
  Logo: string
  Description: string
  Status: number
  AccessTokenValiditySeconds: number
  RefreshTokenValiditySeconds: number
  RedirectUris: string[]
  AutoApprove: boolean
  AuthorizedGrantTypes: string[]
  Scopes: string[]
  Authorities: string[]
  ResourceIds: string[]
  AdditionalInformation: string
  IsAdditionalInformationJson: boolean
  CreateTime: Date
}

// 令牌
export interface OAuth2TokenModel {
  Id: number
  AccessToken: string
  RefreshToken: string
  UserId: number
  UserType: number
  ClientId: string
  CreateTime: Date
  ExpiresTime: Date
}